import 'package:json_annotation/json_annotation.dart';
part 'kh_mic_seat_user_info_model.g.dart';

@JsonSerializable()
class KhMicSeatUserInfoModel {
  int? id;

  String? userCode;
  String? mobile;
  String? nickname;

  /// 0:不公开 1:男 2:女
  int? gender;
  int? age;
  String? areaCode;
  String? constellation;
  String? birth;
  String? realname;
  String? country;
  String? province;
  String? city;

  /// 用户头像
  String? headPortraitsUrl;
  String? micFrameUrl;
  String? dynamicHeadPortraitsUrl;
  String? idcard;

  /// 是否关注：1是 0:否
  int? isAttention;

  /// 关注数量
  int? attentions;

  /// 粉丝数
  int? fans;

  /// 礼物数量
  String? giftNum;

  /// 用户说明
  String? about;

/*




		"type": 2,
		"userInfoAuth": 0,
		"salt": null,
		"imId": "2060462_20250107",
		"imPsw": "9eff4e4bd99d4deaafe0e2d0539ee39b",
		"sourceId": 4,
		"balance": 0.00,
		"chargeBalance": 0.00,
		"virtualBalance": 95146768,
		"charm": 0,
		"charmDrawSum": 0,
		"status": 1,
		"memberExp": null,
		"virtualMemberExp": null,
		"appOpenId": null,
		"qqOpenId": null,
		"openId": null,
		"pointOpenId": null,
		"publicOpenId": null,
		"unionId": null,
		"scoreAvg": 4.0,
		"userScore": null,
		"registIp": "23.156.153.11",
		"registDeviceNo": "00000000-0000-0000-0000-000000000000",
		"loginIp": "59.172.32.189",
		"serverScoreAvg": null,
		"createTime": "2025-01-07 10:34:40",
		"updateTime": "2025-04-02 09:47:43",
		"loginTime": "2025-04-01 10:54:14",
		"registerType": 4,
		"delFlag": null,
		"totalHours": null,
		"activeTime": "2025-04-02 09:47:43",
		"ordersTakeStatus": null,
		"quickServerStatus": 0,
		"isCancel": false,
		"pageImg": null,
		"pageImgInAudit": null,
		"platformAuth": 0,
		"authDesc": null,
		"danPrice": null,
		"visible": null,
		"appType": 1,
		"userProducts": [],
		"userId": 2060462,
		"interests": "1",
		"profession": null,
		"mainPicUrl": "https://game-play.oss-cn-hangzhou.aliyuncs.com/img/pipi_default_head.png",
		"accessCount": 0,
		"totalAccessedCnt": null,
		"totalFootprints": null,
		"newFans": null,
		"videoId": null,
		"videoUrl": null,
		"isAttention": 0,
		"attentions": 0,
		"fans": 0,
		"voiceHostCertUrl": null,
		"newestDynamics": null,
		"monthIncome": null,
		"picUrls": null,
		"voiceUrl": null,
		"duration": null,
		"isBlacked": null,
		"memberLevel": 0,
		"memberEmblem": null,
		"memberTextEmblem": null,
		"rankingEmblem": null,
		"memberHeadPortrail": "",
		"weekDays": null,
		"orderBeginTime": null,
		"orderEndTime": null,
		"activityTagUrl": null,
		"isOldUser": null,
		"headIconEdit": null,
		"picUrlsEdit": null,
		"videoEdit": null,
		"nickEdit": null,
		"myVoiceEdit": null,
		"myVoice": null,
		"aboutEdit": null,
		"userTechList": [],
		"openedTechs": 0,
		"orderTakeStatusText": null,
		"vpList": null,
		"nobleRankCode": null,
		"nobleRankName": null,
		"emblemSimpleUrl": null,
		"emblemSimpleMineUrl": null,
		"emblemUrl": null,
		"nobleBackgroundUrl": null,
		"isRoomBlacked": false,
		"isAtRoomIndex": 1,
		"roomRole": null,
		"h5MicFrameUrl": null,
		"micVoiceWaveUrl": null,
		"userBrandUrl": null,
		"userBrandUrlV2": null,
		"drivingHomeUrl": null,
		"userDrivingUrl": null,
		"nicknamePendantUrl": null,
		"nicknamePendantH5Url": null,
		"nicknamePendantAdUrl": null,
		"nicknamePendantIosUrl": null,
		"bodyAuthDesc": null,
		"guildName": null,
		"managerPermit": false,
		"onclickLeftSecond": null,
		"oneclickCategoryId": null,
		"oneclickMatchNum": null,
		"platformAuthUrl": "",
		"roomVipType": 0,
		"vipUrl": null,
		"vipNewUrl": null,
		"vipSimpleUrl": null,
		"vipNewSimpleUrl": null,
		"fanGroupIconConfig": null,
		"groupValidCount": null,
		"decorationsHeadFrameUrl": null,
		"customerTag": null,
		"isRicher": null,
		"isInGuild": null,
		"skillsGroup": null,
		"aboutList": ["摩羯座", "北京", "1"],
		"brandFlag": null,
		"isFans": false,
		"userLable": null,
		"giftUrl": "https://game-play.apeiwan.com/2023/gifts/force/31.png",
		"giftBgColor": "#B58A5F",
		"giftNum": "0",
		"giftWallStatList": [{
			"type": 1,
			"collectNum": 23,
			"total": 18,
			"giftIcon": null
		}, {
			"type": 2,
			"collectNum": 0,
			"total": 0,
			"giftIcon": null
		}, {
			"type": 3,
			"collectNum": 0,
			"total": 1,
			"giftIcon": null
		}],
		"giftWallProductList": null,
		"giftWallBackgroundSmallUrl": null,
		"medalUrl": "https://game-play.apeiwan.com/2023/gifts/force/medal3.png",
		"medalNum": 1,
		"flashChatVO": null,
		"constellationUrl": "http://test-game-play.oss-cn-hangzhou.aliyuncs.com/temp/2021/12/7/66294bf5bd244e5893cc4d094924a9dd.png",
		"constellationColor": null,
		"popularityInfo": {
			"userId": 2060462,
			"iconUrl": "https://game-play.oss-cn-hangzhou.aliyuncs.com/uploadfile/2021/07/21/049b4fee24160b0bb84368d709f9a822.png",
			"backgroundColor": "#00CFFF,#FF02FF",
			"levelName": "炫彩冠",
			"levelCode": 60,
			"hotValue": 63554572,
			"isInvalid": false,
			"topRank": 1
		},
		"wealthInfo": {
			"userId": 2060462,
			"iconUrl": null,
			"minIconUrl": null,
			"backgroundColor": null,
			"levelCode": 0,
			"levelName": "暂无等级",
			"groupName": "暂无等级",
			"wealthValue": 2,
			"isInvalid": false,
			"topRank": null,
			"expansionCount": null
		},
		"richerInfo": null,
		"userExtInfo": null,
		"friendInfo": null,
		"hideActiveTime": null,
		"onlineStr": null,
		"currentTime": null,
		"showGiftReceived": true,
		"showMedalWall": true,
		"chatGuide": "偷瞄我，不如一起聊聊天哦～",
		"techNum": null,
		"techShowUrls": null,
		"hostUrl": null,
		"hostUrlV2": null,
		"hostMarkV2": null,
		"degreeOfInformation": null,
		"isReceive": null,
		"userMoodInfo": null,
		"showGiftWallEntrance": true,
		"userRemark": null,
		"godRichUserListBackImg": null,
		"showHistoryHeadUrl": null,
		"birthdayInfo": null,
		"online": false,
		"orderTakeSwitch": false,
		"lastMemberExp": 0,
		"newUser": false,
*/

  KhMicSeatUserInfoModel();
  factory KhMicSeatUserInfoModel.fromJson(Map<String, dynamic> json) =>
      _$KhMicSeatUserInfoModelFromJson(json);
  Map<String, dynamic> toJson() => _$KhMicSeatUserInfoModelToJson(this);
}
